<template>
    <div class="nodata" v-if="isShow">
        <img src="./../../../assets/noshop.png" alt="">
        <p class="fontcolor">{{title}}</p>
    </div>
</template>
<script>
export default {
    name:'showBgImg',
    props:{
        title:{
            type:String,
            default:"暂无优惠券，去看看别的吧~~"
        },
        isShow:{
            type:Boolean,
            default: false
        }
    }
}
</script>
<style scoped lang="less">
.nodata {
    font-size: 1.8rem;
    position: relative;
    width: 100%;
    // height: 100%;
    .fontcolor {
        color: #c8c8c8;
    }
    img {
        width: 50%;
    }
}
</style>
